<?php
if (!empty($modules)):
?>
<div class="ml-admin-title">
    <?php
    echo __t('mandrill.admin.modules.list');
    ?>
</div>
<div class="ml-admin-panel">
    <?php
    echo $moduleTable;
    if ($moduleTable->featured):
    ?>
    <script type="text/javascript">
        $(document).ready(function(){
            $('.ml-table').dataTable();
        });
    </script>
    <?php
    endif;
    ?>
</div>
<?php
else:
?>
<div class="ml-info">
    <?php
    echo __t('mandrill.admin.modules.noInstalled');
    ?>
</div>
<?php
endif;
?>
<div class="ml-admin-title">
    <?php
    echo __t('mandrill.admin.modules.installation');
    ?>
</div>
<div class="ml-admin-panel">
    <?php
    echo __t('mandrill.admin.modules.fileChoose').'<br /><br />';
    echo $formInstall;
    ?>
</div>
<script type="text/javascript">
    setActive('#lnkModule');
</script>